import store from '@/store/index'
export default {
  methods: {
    checkPermBtn(code) {
      const points = store.state.permission.userPerm.points
      return points.includes(code)
    }
  }
}
